# Contributor: Mika Havela <mika.havela@gmail.com>
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-genshi
_realname=Genshi
pkgver=0.7.6
pkgrel=0
pkgdesc="Python toolkit for stream-based generation of output for the web"
url="http://genshi.edgewall.org/"
arch="all"
license="MIT"
depends="python3"
makedepends="py3-setuptools python3-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/edgewall/genshi/archive/$pkgver.tar.gz"
builddir="$srcdir/genshi-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
570199db5fd8eefa6396bf3acc6d9f893b7af8788b72735ffb63e7c7266454ba7030d03739ecc313e10df57878df2009d008a4dce17d4876aba4616a3922ec71  py3-genshi-0.7.6.tar.gz
"
